home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13970 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: hettar.cv.com!usenet
  2. From: Anil Madhav Bhagwat <abhagwat>
  3. Newsgroups: comp.lang.c
  4. Subject: How to share globals across DLLs
  5. Date: 11 Apr 1996 04:31:33 GMT
  6. Organization: Computervision Corporation
  7. Message-ID: <4ki1v5$oia@hettar.cv.com>
  8. NNTP-Posting-Host: kanada.cv.com
  9. Mime-Version: 1.0
  10. Content-Type: multipart/mixed;
  11.     boundary="-------------------------------3147434725465"
  12. X-Mailer: Mozilla 1.1N (X11; I; SunOS 5.5 sun4u)
  13. X-URL: file:/users/abhagwat/etc/problem
  14.  
  15. This is a multi-part message in MIME format.
  16.  
  17. ---------------------------------3147434725465
  18. Content-Transfer-Encoding: 7bit
  19. Content-Type: text/plain; charset=us-ascii
  20.  
  21. -- 
  22. ------------------------------------------------------------------------------
  23. Anil M. Bhagwat
  24.  
  25. Residence : 4/Bhalchandra,       Office : ComputerVision(India) R&D Pvt.Ltd.
  26.             Karve Road,                   16 Pune-Mumbai Road, 
  27.             Erandawane,                   Opp. Bajaj Auto Show Room,
  28.             Pune 4                        Pune 3
  29.  
  30. Telephone : 330130               Telephone : 318816 / 17 / 18 / 19 / 20
  31. ------------------------------------------------------------------------------
  32.  
  33. ---------------------------------3147434725465
  34. Content-Transfer-Encoding: 7bit
  35. Content-Type: text/plain
  36.  
  37. Hi,
  38.  
  39. I am facing a very strange problem. We want to break an
  40. existing static library ( which is quite huge ) into a set of
  41. Dynamic Link Libraries ( DLLs ). The problem is how to share
  42. the global variables across these DLLs. I am using  MSVC++ 1.51
  43. compiler which provides keywords like EXPORT and IMPORT of
  44. global variables in the .DEF file. But surprisingly it's not
  45. working. Does anybody know the solution ? I would like to
  46. have a sample source code to illustrate this.
  47.  
  48. Thanx in advance.
  49.  
  50. anil
  51.  
  52. ---------------------------------3147434725465--
  53.